// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0

//include_path: ../../helper_components
import { ColorButton } from "test_button.slint";
import { TestButton as TheRealTestButton  } from "re_export.slint";

// ColorButton uses TestButtonImpl
TestButtonImpl := Rectangle {
    property <int> abc: 12;
}

// Testbutton is another name for TestButtonImpl
TestButton := Rectangle {
    property <string> abc: "hello";
}

TestCase := Rectangle {
    ColorButton { button_color: red; }
    TestButtonImpl { abc: 4; }
    TestButton { abc: "world"; }
    TheRealTestButton{ button-text: "yo"; }
}
